import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    name: 'AssetsManage',
    path: '/assetsManage',
    component: () => import('#/views/assetsManage/index.vue'),
    meta: {
      icon: 'lucide:database',
      title: '资产管理',
    },
  },
  {
    name: 'AssetsDetail',
    path: '/assetsDetail',
    component: () => import('#/views/assetsDetail/index.vue'),
    meta: {
      hideInMenu: true,
      icon: 'lucide:info',
      title: '资产详情',
    },
  },
  {
    name: 'AssetsType',
    path: '/assetsType',
    component: () => import('#/views/assetsType/index.vue'),
    meta: {
      icon: 'lucide:database-zap',
      title: '资产类型',
    },
  },
  {
    name: 'AuthManage',
    path: '/authManage',
    component: () => import('#/views/authManage/index.vue'),
    meta: {
      icon: 'lucide:fingerprint',
      title: '权限管理',
    },
  },
  {
    name: 'LogManage',
    path: '/logManage',
    component: () => import('#/views/logManage/index.vue'),
    meta: {
      icon: 'lucide:scroll-text',
      title: '日志管理',
    },
  },
];

export default routes;
